package com.dhcy.mqtt.par.ht;



import lombok.Data;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



@Data
@ApiModel(value="菜单新增修改",reference ="菜单新增修改" )
public class SysResourceAddPar {
   @NotBlank(message = "ID不能为空")
   @ApiModelProperty(value="ID",dataType = "Integer ",example = "")
   private Integer id;
   @NotBlank(message = "资源名称不能为空")
   @ApiModelProperty(value="资源名称",dataType = "String ",example = "")
   private String resuorceName;
   @NotBlank(message = "资源链接不能为空")
   @ApiModelProperty(value="资源链接",dataType = "String ",example = "")
   private String linkUrl;
   @NotBlank(message = "资源类型不能为空")
   @ApiModelProperty(value="资源类型",dataType = "Integer ",example = "")
   private Integer resourceType;
   @NotBlank(message = "权限字符串不能为空")
   @ApiModelProperty(value="权限字符串",dataType = "String ",example = "")
   private String resourceCode;
   @NotBlank(message = "父级ID不能为空")
   @ApiModelProperty(value="父级ID",dataType = "Integer ",example = "")
   private Integer parentId;
   @NotBlank(message = "删除标志不能为空")
   @ApiModelProperty(value="删除标志",dataType = "Integer ",example = "")
   private Integer delFlg;
   @NotBlank(message = "创建人不能为空")
   @ApiModelProperty(value="创建人",dataType = "String ",example = "")
   private String CREATER;
   @NotBlank(message = "创建时间不能为空")
   @ApiModelProperty(value="创建时间",dataType = "Integer ",example = "")
   private Integer createTime;
   @NotBlank(message = "更新人不能为空")
   @ApiModelProperty(value="更新人",dataType = "String ",example = "")
   private String UPDATOR;
   @NotBlank(message = "更新时间不能为空")
   @ApiModelProperty(value="更新时间",dataType = "Date ",example = "")
   private String updateTime;
   @NotBlank(message = "排序不能为空")
   @ApiModelProperty(value="排序",dataType = "Integer ",example = "")
   private Integer sort;
   @NotBlank(message = "图标不能为空")
   @ApiModelProperty(value="图标",dataType = "String ",example = "")
   private String icon;

}
